<#ftl encoding="UTF-8" />
            <form id="form_data" class="form__data_content">
                <div id="panelTop" style="position:relative; height:50px; border-bottom: 1px solid #ddd; background-color:#fff;">
                    <div id="btnPanel_01" style="position:absolute; display:inline-block; top:12px; left: 8px; width:auto; padding:0;">
                        <button type="button" name="_ButBack" id="ButBack" class="act__button" onclick="_InstancePageHeader.DoBack();"><i class="fa-all fa-1x fa-reply" style="margin-right:3px;"></i>返回</button>
                        <button type="button" name="_ButNew" id="ButNew" class="act__button" onclick="_InstancePageHeader.New();"><i class="fa-all fa-1x fa-plus" style="margin-right:3px;"></i>增加</button>
                        <button type="button" name="_ButSave" id="ButSave" class="act__button act__save" onclick="_InstancePageHeader.Save();"><i class="fa-all fa-1x fa-save" style="margin-right:3px;"></i>保存</button>
                    </div>
                    <div id="rec_position" style="position:absolute; display:inline-block; right:80px; top:18px; width:auto;">
                        <span id="rec_cur_row">15</span> / <span id="rec_total_rows">15</span>
                    </div>
                    <div class="panel__toolbar" style="position:absolute; display:inline-block; top:12px; right:20px;">
                        <div class="panel__toolbar_item">
                            <button type="button" class="toolbar__button" name="_ButPrev" id="ButPrev" title="前一条" onclick="_InstancePageHeader.PrevRecord();"><i class="fa-all fa-1x fa-angle-left" style="margin-right:3px;"></i></button>
                        </div>
                        <div class="panel__toolbar_item" disabled="disabled">
                            <button type="button" class="toolbar__button" name="_ButNext" id="ButNext" title="后一条" onclick="_InstancePageHeader.NextRecord();"><i class="fa-all fa-1x fa-angle-right" style="margin-right:3px;"></i></button>
                        </div>
                    </div>
                </div>
                <div class="data__table_wrapper">
                    <table class="data__table">
                        <colgroup>
                            <col style="width: 7%;" />
                            <col style="width: 21%;" />
                            <col style="width: 7%;" />
                            <col style="width: 15%;" />
                            <col style="width: 7%;" />
                            <col style="width: 17%;" />
                            <col style="width: 7%;" />
                            <col />
                        </colgroup>
                        <tbody>
                            <tr>
                                <td class="td__label">
                                    <label for="StyleNo">款号<em>★</em></label>
                                </td>
                                <td>                       
                                    <input type="hidden" id="ProductId" name="_ProductId" tabindex="1" />
                                    <div id="ChoiceStyleNo" class="form_input_dropdown_wrapper" style="width:98%;" onclick="_InstancePageHeader.DoChoiceStyleNo();">
                                        <input type="text" id="StyleNo" name="_StyleNo" class="select-dropdown with_select_flag" readonly="readonly" style="color:#000;" tabindex="1" />
                                    </div>
                                </td>
                                <td class="td__label">
                                    <label for="ProductType">品类<em>★</em></label>
                                </td>
                                <td>
                                    <input type="text" id="ProductType" name="ProductType" value="" tabindex="2" readonly="readonly" style="width:95%;" />
                                </td>
                                <td class="td__label">
                                    <label for="ContractNo">合同号<em>★</em></label>
                                </td>
                                <td>
                                    <input type="text" id="ContractNo" name="ContractNo" value="" tabindex="3" readonly="readonly" style="width:95%;" />
                                </td>
                                <td class="td__label">
                                    <label for="DateOfSigned">合同签订日<em>★</em></label>
                                </td>
                                <td>
                                    <div id="ChoiceDateOfBill" class="form_input_dropdown_wrapper" style="width:100%;">
                                        <input type="text" id="DateOfSigned" name="_DateOfSigned" class="select-dropdown" readonly="readonly" style="width:135px; color:#000;" tabindex="4" />
                                        <span class="dropdown_button" style="left:120px;"><i class="fa-all fa-1-1 fa-calendar"></i></span>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="td__label">
                                    <label for="ContractQuantity">合同数量</label>
                                </td>
                                <td>
                                    <input type="text" id="ContractQuantity" name="_ContractQuantity" readonly="readonly" tabindex="5" />
                                </td>
                                <td class="td__label">
                                    <label for="DateOfShipping">船期</label>
                                </td>
                                <td>
                                    <input type="text" id="DateOfShipping" name="_DateOfShipping" readonly="readonly" tabindex="6" />
                                </td>
                                <td class="td__label">
                                    <label for="UpdatedByName">操作情况</label>
                                </td>
                                <td colspan="3">
                                    <input type="text" id="UpdatedByName" name="_UpdatedByName" tabindex="10" style="width:80px;" readonly="readonly" />
                                    <input type="text" id="UpdatedDate" name="_UpdatedDate" tabindex="11" style="width:80px;" readonly="readonly" />
                                </td>
                            </tr>
                        <tbody>
                    </table>
                </div>
            </form>

            <input id="Action" type="hidden" value="<#if action?exists>${action}<#else>0</#if>" />
            <input id="HeaderId" type="hidden" value="<#if headerId?exists>${headerId}<#else>0</#if>" />

            <!-- 明细部分 -->
            <div id="panelSlave" style="position:relative; top:0;">
                <!-- 折叠标记 -->
                <div id="hPanelSplitter" title="隐藏主表"><i class="fa-all fa-angle-double-up"></i></div>
                <!-- 明细内容 -->
                <ul id="tabPanelHeader" class="tabstrip" style="top:0; width:100%;">
                    <li id="menu_01" class="tabInactive" style="margin-left:25px;">
                        <div>
                            <span class="tab_stretch"><span class="tabtext"><abbr class="ls_01">跟单明细</abbr></span></span>
                        </div>
                    </li>
                    <li id="menu_02">
                        <div>
                            <span class="tab_stretch"><span class="tabtext"><abbr class="ls_02">生产过程缝制问题</abbr></span></span>
                        </div>
                    </li>
                    <li id="menu_03">
                        <div>
                            <span class="tab_stretch"><span class="tabtext"><abbr class="ls_03">生产过程材料问题</abbr></span></span>
                        </div>
                    </li>
                </ul>
                <div id="tabPanelData" class="tab__wrapper" style="top:0; height:auto;">
                    <div id="tab_wrapper_01" class="tab__content" style="padding-top:5px; width:100%;">
                        <div id="panel_slave_butbar_01" style="clear:both; position:relative; top:3px; padding-left:8px; z-index:+1;">
                            <button type="button" name="_ButSaveLines" id="ButSaveLines" class="act__button act__save" onclick="_InstancePageLines.SaveLines();"><i class="fa-all fa-1x fa-save" style="margin-right:3px;"></i>保存明细</button>
                        </div>
                        <div id="panel_slave_data_01" style="position:relative; top:10px; width:100%; padding:0 8px;">
                            <table id="tabHeader11" class="layout display">
                                <colgroup>
                                    <col style="width: 60px;" />
                                    <col />
                                    <col style="width: 200px;" />
                                    <col style="width: 260px;" /> 
                                    <col style="width: 80px;" />
                                    <col style="width: 100px;" />
                                    <col style="width: 100px;" />
                                    <col style="width: 100px;" />
                                    <col style="width: 18px;" />
                                </colgroup>
                                <thead>
                                    <tr>
                                        <th>完工进度</th>
                                        <th>加工单位</th>
                                        <th>生产班组</th>
                                        <th>颜色</th>
                                        <th>尺码</th>
                                        <th>加工合同数量</th>
                                        <th>计划数</th>
                                        <th>完工数</th>
                                        <th></th>
                                    </tr>
                                </thead>
                            </table>
                            <div id="divD11" class="grid__data_wrapper" style="border-left:none; overflow-y:scroll;">
                                <table id="tabData11" class="responsive__table" style="margin-top:-1px;">
                                    <colgroup>
                                        <col style="width: 180px;" />
                                        <col style="width: 260px;" />
                                        <col style="width: 45px;" />
                                        <col style="width: 90px;" />
                                        <col style="width: 140px;" />
                                        <col style="width: 140px;" />
                                        <col style="width: 100px;" />
                                        <col style="width: 100px;" />
                                        <col />
                                    </colgroup>
                                    <tbody></tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
